{% extends '::base.html.twig' %}

{% block title %}{{ entity.name | capitalize }}{% endblock %}

{% block topbar %}
<div id="topbar" style="background: url('/images/green.png') repeat-x scroll 0 0 #B0B0B0">
    <strong class="wrapper">
        {{ entity.name | capitalize }}
    </strong>
</div>
{% endblock %}

{% block body %}
<div class="wrapper">
    <div id="content">
        <div class="entry blogentry">
            {% if entity.website %}
            <a href="{{ entity.website }}" title="{{ entity.name }}" target="_blank" rel="nofollow"><h2>{{ entity.name | capitalize }}</h2></a>
            {% endif %}

            {% if entity.getWebPath() %}
            <img class="rounded" src="{{ entity.getWebPath() }}" alt='{{ entity.name }}' width='610' height='273' />
            {% endif %}

            <p>
                {{ entity.content | raw }}
            </p>
        </div>
        <!-- END .entry -->

    </div>
    <!-- END #content -->

</div>
<!-- END .wrapper -->
{% endblock %}
